let requestUtil = require('@/api/http/request.js');

//添加反馈建议
export const addFeedbackAPI = (params) => {
	return requestUtil('/iot-device-saas-customer/customer/feedback/save', 'post',params, '');
}

//反馈建议分页列表
export const getFeedbackListAPI = (params) => {
	return requestUtil('/iot-device-saas-customer/customer/feedback/page', 'get',{...params,fromFlag:2}, '');
}

//获取建议详情
export const getFeedbackDetailAPI = (params) => {
	return requestUtil('/iot-device-saas-customer/customer/feedback/detail', 'get', params, '');
}

//删除反馈建议
export const removeFeedbackAPI = (ids) => {
	return requestUtil('/iot-device-saas-customer/customer/feedback/remove', 'post', {ids:ids}, '');
}
